import React from 'react'
import ReactDOM from 'react-dom'
import App from './Appimmutable2'

// 路由react默认是没有，需要安装第3方法路由模块 react-router-dom
// 定义路由的模式 hash 或 history
import { BrowserRouter as Router } from 'react-router-dom'

// store导入
import store from './store'
// 导入react-redux
import { Provider } from 'react-redux'



ReactDOM.render(
  <Provider store={store}>
    <Router>
      <App />
    </Router>
  </Provider>,
  document.getElementById('root')
)

